package com.hex.ds.hdtp.core.inf.data.contrast.po;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @Package: com.hex.ds.hdtp.core.inf.data.contrast.po
 * @ClassName CrossDbContrastTaskPo
 * @Description: 跨库对比任务-PO对象
 * @Author: wz.li
 * @Date 2023/7/24 16:17
 * @Version v2.0.2
 **/
@Data
@TableName(value = "tm_cross_db_contrast_task")
@Accessors(chain = true)
public class CrossDbContrastTaskPo implements Serializable {

    @TableId(value = "pk_id", type = IdType.ASSIGN_UUID)
    private String pkId;

    @TableField(value = "task_name")
    private String taskName;

    @TableField(value = "server_pk_id")
    private String serverPkId;

    @TableField(value = "contrast_server_pk_id")
    private String contrastServerPkId;

    @TableField(value = "remark")
    private String remark;

    @TableField(value = "status")
    private String status;

    @TableField(value = "crt_user" , fill = FieldFill.INSERT)
    private String crtUser;

    @TableField(value = "crt_user_name" , fill = FieldFill.INSERT)
    private String crtUserName;

    @TableField(value = "crt_ts" , fill = FieldFill.INSERT)
    private String crtTs;

    @TableField(value = "up_user" , fill = FieldFill.INSERT_UPDATE)
    private String upUser;

    @TableField(value = "up_user_name" , fill = FieldFill.INSERT_UPDATE)
    private String upUserName;

    @TableField(value = "up_ts" , fill = FieldFill.INSERT_UPDATE)
    private String upTs;

    @TableField(exist = false)
    private String contrastTemplatePkId;

    @TableField(exist = false)
    private String endTs;

    @TableField(value = "total")
    private String total;

    @TableField(value = "success_count")
    private String successCount;

    @TableField(value = "fail_count")
    private String failCount;

    @TableField(value = "start_time")
    private String startTime;

    @TableField(value = "end_time")
    private String endTime;

}
